package com.csht.entity;
import java.io.Serializable;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;


/**
 * 
 * 运输企业实体
 * 
 * @version 
 * <pre>
 * Author	Version		Date		Changes
 * houzw 	1.0  2018年01月05日 Created
 *
 * </pre>
 * @since 1.
 */
public class CompanyEntity implements Serializable {
    private static final long serialVersionUID = 7969128273071266L;
    
    /**PK*/
    private Long id;
    /**经营许可证号*/
    private String licenceno;
    /**企业名称*/
    private String compName;
    /**经济类型*/
    private String economy;
    /**发证日期*/
    private String issuedate;
    /**终止日期*/
    private String enddate;
    /**负责人*/
    private String manager;
    /**联系电话*/
    private String phone;
    /**企业地址*/
    private String address;
    /**经营范围*/
    private String business;
    /**上级企业*/
    private Long parentid;
    /**车辆总数*/
    private Long vehicleSum;
    /**从业人员总数*/
    private Long employeeSum;
    /**企业类型  （1=运营商 2=代理商 3=运输企业）*/
    private Long compType;
    /**最近修改用户*/
    private String lastUser;
    /**最近修改时间*/
    private Date lastTime;

    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }

    public String getLicenceno() {
        return licenceno;
    }
    public void setLicenceno(String licenceno) {
        this.licenceno = licenceno;
    }

    public String getCompName() {
        return compName;
    }
    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getEconomy() {
        return economy;
    }
    public void setEconomy(String economy) {
        this.economy = economy;
    }

    public String getIssuedate() {
        return issuedate;
    }
    public void setIssuedate(String issuedate) {
        this.issuedate = issuedate;
    }

    public String getEnddate() {
        return enddate;
    }
    public void setEnddate(String enddate) {
        this.enddate = enddate;
    }

    public String getManager() {
        return manager;
    }
    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }

    public String getBusiness() {
        return business;
    }
    public void setBusiness(String business) {
        this.business = business;
    }

    public Long getParentid() {
        return parentid;
    }
    public void setParentid(Long parentid) {
        this.parentid = parentid;
    }

    public Long getVehicleSum() {
        return vehicleSum;
    }
    public void setVehicleSum(Long vehicleSum) {
        this.vehicleSum = vehicleSum;
    }

    public Long getEmployeeSum() {
        return employeeSum;
    }
    public void setEmployeeSum(Long employeeSum) {
        this.employeeSum = employeeSum;
    }

    public Long getCompType() {
        return compType;
    }
    public void setCompType(Long compType) {
        this.compType = compType;
    }

    public String getLastUser() {
        return lastUser;
    }
    public void setLastUser(String lastUser) {
        this.lastUser = lastUser;
    }

    public Date getLastTime() {
        return lastTime;
    }
    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }



    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
}